.ytcenter-dialog-base {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 2000000003;
  overflow: auto;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
}
.ltr .ytcenter-dialog-base {
  left: 0;
}
.rtl .ytcenter-dialog-base {
  right: 0;
}
.ytcenter-dialog-fg {
  position: relative;
  background: #fff;
  vertical-align: middle;
  z-index: 2000000002;
  -moz-box-shadow: 0 0 15px rgba(0,0,0,.18);
  -ms-box-shadow: 0 0 15px rgba(0,0,0,.18);
  -webkit-box-shadow: 0 0 15px rgba(0,0,0,.18);
  box-shadow: 0 0 15px rgba(0,0,0,.18);
  display: inline-block;
  zoom: 1;
  -moz-user-select: text;
  -ms-user-select: text;
  -webkit-user-select: text;
}
.ltr .ytcenter-dialog-fg {
  text-align: left;
}
.rtl .ytcenter-dialog-fg {
  text-align: right;
}

.ytcenter-dialog-align,
.ytcenter-dialog-fg {
  vertical-align: middle;
  display: inline-block;
}

.ytcenter-dialog-align {
  height: 100%;
}

.ytcenter-dialog-fg {
  border: 1px solid #e2e2e2;
}

.ytcenter-dialog-bg {
  position: absolute;
  top: 0;
  width: 100%;
  min-width: 970px;
  border: none;
  z-index: 2000000001;
  background-color: #fff;
  opacity: .8;
  filter: alpha(opacity=80);
}
.ltr .ytcenter-dialog-bg {
  left: 0;
}
.rtl .ytcenter-dialog-bg {
  right: 0;
}

.ytcenter-dialog-base .ytcenter-dialog-header {
  border-bottom: 1px solid #e2e2e2;
  height: 60px;
  margin: 0 -20px 20px;
}

.ytcenter-dialog-base .ytcenter-dialog-header h2 {
  font-weight: 400;
  border-bottom: 0;
  color: #555;
  overflow: hidden;
  white-space: nowrap;
  word-wrap: normal;
  zoom: 1;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  margin: 0;
  padding: 0 20px;
}

.ytcenter-dialog-footer {
  clear: both;
  padding-top: 20px;
  text-align: right;
}

.ytcenter-dialog-fg-content {
  overflow: hidden;
  color: #333;
  padding: 0 20px 20px;
}

.ytcenter-dialog-fg-content h2 {
  border-bottom: 1px solid #ccc;
  color: #333;
  font-weight: 700;
  font-size: 20px;
  line-height: 60px;
  overflow: hidden;
  white-space: nowrap;
  word-wrap: normal;
  zoom: 1;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  margin: 0 -20px 20px;
  padding: 0 20px;
}

.ytcenter-dialog-show-content .ytcenter-dialog-content {
  display: block;
}

body.ytcenter-dialog-active {
  height: 100%;
  overflow: hidden;
}

.ltr .ytcenter-dialog-footer button {
  margin-left: 10px;
}

.rtl .ytcenter-dialog-footer button {
  margin-right: 10px;
}

.ytcenter-dialog .ytcenter-settings-content h2 {
  border-bottom: inherit!important;
  margin: inherit!important;
  padding: inherit!important;
  color: inherit!important;
  font-size: inherit!important;
  line-height: inherit!important;
  overflow: inherit!important;
  white-space: inherit!important;
  word-wrap: inherit!important;
  -o-text-overflow: inherit!important;
  text-overflow: inherit!important;
}